package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 原始数据样包存储表-实体
 * @author zfsn
 * @date 2023-4-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "原始数据样包存储表", description = "")
@TableName("conf_filter_business_data")
public class ConfFilterBusinessData extends BasePage<ConfFilterBusinessData> {

	/**
	 *
	 */
	@ApiModelProperty(value = "主键id", notes = "")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "过滤规则id", notes = "")
	private Integer filterId;

	/**
	 *
	 */
	@ApiModelProperty(value = "数据id", notes = "")
	private String dataId;

	/**
	 * 23:mid，24:db
	 */
	@ApiModelProperty(value = "消息类型：22:web", notes = "23:mid，24:db")
	private Integer msgType;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String requestIp;

	@TableField(exist = false)
	private Long requestIpInt;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String responseIp;

	@TableField(exist = false)
	private Long responseIpInt;
	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String startTvSec;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String startTvUsec;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String endTvSec;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String endTvUsec;

	/**
	 *
	 */
	@ApiModelProperty(value = "匹配串", notes = "")
	private String discResourceIdent;

	/**
	 *
	 */
	@ApiModelProperty(value = "原始URL/API/SQL", notes = "")
	private String oriString;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String reterUrl;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String xRequestedWith;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String name;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private Integer requestPort;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private Integer responsePort;

	/**
	 *
	 */
	@ApiModelProperty(value = "协议", notes = "")
	private String protocol;

	/**
	 *
	 */
	@ApiModelProperty(value = "业务服务资源", notes = "")
	private String bussType;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String sessionId;

	/**
	 *
	 */
	@ApiModelProperty(value = "序列号", notes = "")
	private String sessionSerialNumber;

	/**
	 *
	 */
	@ApiModelProperty(value = "专属指标", notes = "")
	private String bussinessDetailMesg;

	/**
	 *
	 */
	@ApiModelProperty(value = "关键字", notes = "")
	private String bussinessKeyMesg;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String tIntodbTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String  reqMethod;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String contentType;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String accept;

	/**
	 *
	 */
	@ApiModelProperty(value = "父业务服务资源", notes = "")
	private String channel;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private Integer loadOrSetp;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String baseCode;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String reqCookieDetail;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String requestBodyContext;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String responseBodyContext;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private Integer isCompletion;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String  dealTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String clientTranslateTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String serverTranslateTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private Integer dealState;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String serverResponseTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private  String serverResponseStartTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String serverResponseEndTime;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private String probeIp;

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	private LocalDateTime probeTime;


	/**
	 * 开始时间
	 */
	@TableField(exist = false)
	private String startTime;
	/**
	 * 结束时间
	 */
	@TableField(exist = false)
	private String endTime;
	/**
	 * 请求ip:端口
	 */
	@TableField(exist = false)
	private String requestIpPort;
	/**
	 * 响应ip:端口
	 */
	@TableField(exist = false)
	private String responseIpPort;

}